package package_;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
class AAA {
	/*static AA a=new AA();
	public static AA get(){
		if(a==null)
			return a=new AA();
		else
			return a;
	}*/
	Map<String,String> standard=new HashMap<String, String>();
	Map<String, String> actual=new HashMap<String, String>();
	//static Map<String,Map<String,String>> mm=new HashMap<String,Map<String,String>>();
	{
		standard.put("a","true");
		standard.put("a1","false");
		standard.put("a2","true");
		standard.put("a3","true");
		standard.put("a4","false");
	}
	public AAA(){}
	String command="",standardparam=" -v";
	//"command -v
	String sprawdz(){
		String com="";
		for (String k:actual.keySet()){
			com+=((standard.get(k)!=actual.get(k))?(k+"="+actual.get(k)):"")+" ";
		}
		return command=com+standardparam;
	}
	//standard - rnccoscos = true
	//actual   - rnccoscos = true
}
public class AA{
	public static void main(String[] a){
		AAA c=new AAA();
		c.actual.put("a","true");
		c.actual.put("a1","false");
		c.actual.put("a4","true");
		System.out.println(c.sprawdz());
	//cos co trzyma standardowe dane wczytane
	
	//cos co sproawdza czy zmiany na gui sa inne niz stardard - jesli tak zaktualizuj command 
	}
}
